# -*- coding: utf-8 -*-
#
# @Time    ： 2022/2/24  0:19
# @Auther  ： 徐良
# File     :  tabWidgetCss.py

# tabBarStyle = """QTabWidget{
#                 background-color:transparent;
#                 }
#                 QTabWidget::pane{
#                     border:2px;
#                 }
#                 QTabWidget::tab-bar{
#                         alignment:left;
#                 }
#                 QTabBar::tab{
#                     background:rgb(106, 134, 143,100);
#                     color:white;
#                     min-width:15ex;
#                     min-height:10ex;
#                     alignment:left;
#                 }
#                 QTabBar::tab:hover{
#                     background:rgb(255, 255, 255, 100);
#                     color:black;
#                     alignment:left;
#                 }
#                 QTabBar::tab:selected{
#                     border-color: black;
#                     background:rgb(12, 69, 81);
#                     color:white;
#                     alignment:left;
#                 }"""



tabBarStyle = """QTabWidget{
                background-color: transparent;
            }
            QTabWidget::pane{
                border: 2px;
            }
            QTabWidget::tab-bar{
                alignment: left;
            }
            QTabBar::tab{
                background: rgb(50, 50, 50); /* 深灰色背景 */
                color: white;
                min-width: 15ex;
                min-height: 10ex;
                alignment: left;
            }
            QTabBar::tab:hover{
                background: rgb(80, 80, 80); /* 深灰色背景，略微浅一些 */
                color: black;
                alignment: left;
            }
            QTabBar::tab:selected{
                border-color: black;
                background: rgb(12, 69, 81);
                color: white;
                alignment: left;
            }"""


